﻿using System.Web;
using System.Web.Optimization;

namespace OGS.Web
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/js-admin").Include(
                        "~/js/jquery-1.10.1.min.js",
                        "~/js/jquery-ui-1.10.3.min.js",
                        "~/js/bootstrap.min.js",
                        "~/js/jquery.validate.min.js",
                        "~/js/jquery.validate.unobtrusive.min.js",
                        "~/js/app.js",
                        "~/js/common.admin.js"
                        ));

            bundles.Add(new StyleBundle("~/bundles/css-admin").Include(
                     "~/css/bootstrap.min.css",
                     "~/css/font-awesome.min.css",
                     "~/css/ionicons.min.css",
                     "~/css/AdminTheme.css",
                     "~/css/Admin.css",
                     "~/css/datatables/dataTables.bootstrap.css"
                     ));

             BundleTable.EnableOptimizations = true;
        }
    }
}